-with() in laravel

37

Route::get('/', function () {
   $articleName = ‘Article 1’;
   return view('gfg')->with('articleName', $articleName)->
                with('articlePublished', 'On GeeksforGeeks');
});

Comments

Submit
0 Comments